package com.sise.netty.手写Tomcat;

import java.util.ArrayList;
import java.util.List;

/**
 * servlet配置器
 *
 * @author idea
 * @data 2019/4/25
 */
public class ServletMappingConfig {

    public static List<ServletMapping> servletMappings = new ArrayList<>();


    //初始化映射路径
    static {
        servletMappings.add(new ServletMapping("findUser", "/user", "com.sise.netty.手写Tomcat.GetUserServlet"));
    }


    public static void main(String[] args) throws ClassNotFoundException {
        Class c = Class.forName(GetUserServlet.class.getName());
        System.out.println(GetUserServlet.class.getName());
    }
}
